// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import iView from 'iview'; // 导入组件库
import elementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'

import 'iview/dist/styles/iview.css'; // 导入样式
import './assets/iconfont/iconfont.css'//引入阿里巴巴矢量图标
import './assets/css/free.css'//引入自定义样式
// import './assets/css/reset.css'//重置样式

import './assets/js/sockjs.min.js'
import './assets/js/stomp.min.js'

import VueResource from 'vue-resource';
import axios from 'axios';

Vue.use(iView);
Vue.use(elementUI);
Vue.use(VueResource);

Vue.prototype.$axios = axios;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
